package com.henushang.ranking.domain;

import com.henushang.ranking.domain.base.BaseDomain;

public class CategoryInfo extends BaseDomain {

    private String name;

    private Integer weight;

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return super.toString() + String.format(" ,  name:%s", getName());
    }
}
